import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("输入年龄：");
        //10 回车
        int a = sc.nextInt();
        //当nextline上面是nextint的时候，nextline什么都得不到
        sc.nextLine();//用空的（打酱油）的nextline吸收一下回车
        String str = sc.nextLine();


        System.out.println("a = " + a);
        System.out.println("str = " + str);
    }
}